home *** CD-ROM | disk | FTP | other *** search
/ Mac Magazin/MacEasy 24 / Mac Magazin and MacEasy Magazine CD - Issue 24.iso / Online / WhatRoute FAT / README next >
Text File  |  1996-07-13  |  7KB  |  106 lines

  1. WhatRoute Version 1.2 - by Bryan Christianson
  2.  
  3. Credits
  4.  
  5. WhatRoute owes its existence to the work by Van Jacobsen, Steve Deering and others who invented the UNIX traceroute command. 
  6.  
  7. I am also extremely grateful for the all the feedback I've had on WhatRoute. I've tried to incorporate many of your ideas into the program and I'm always willing to hear your suggestions and criticisms. Thanks folks.
  8.  
  9. What does WhatRoute Do?
  10. The program is designed to find the names of all the routers through which an IP packet passes on the way from your Macintosh to the destination host. In addition it measures the round-trip time from your Macintosh to the router thus enabling you to determine slow links (hops) in the Internet. It can also find dead links - ie routers that don't respond etc etc. If you have access to a UNIX machine you should read the man page that accompanies 'traceroute'.
  11.  
  12. WhatRoute and Internet Config
  13. If you have Internet Config installed, you can make WhatRoute a helper application for URLs with the format
  14.  
  15.         traceroute://a.b.c/
  16.  
  17. An example of this usage is to be found in Bill Fishers InterMapper application at
  18. <URL http://www.dartmouth.edu/netsoftware/intermapper.htm>
  19.  
  20. Hardware/Software Requirements
  21. 1. OpenTransport 1.1 or later. WhatRoute does not work with MacTCP.
  22. 2. A network connection - Ethernet or PPP/SLIP
  23. 3. A Macintosh computer that uses Colour QuickDraw (68K or PowerPC)
  24. 4. System 7.5.3 or later (I've only tested with 7.5.3 but had no reports of failure on earlier 7.5's)
  25.  
  26. Usage
  27. Simply type an Internet host name or IP address in the field at the top of the screen. Press the return key or click the Trace button, and the window will display the names and IP addresses of all the routers between you and that host. WhatRoute tries each router 3 times and showsthe round trip time (in milliseconds) it takes for a packet to be sent to that router from your Macintosh and for a reply to be returned to you. If there is no reply from the remote host, WhatRoute will print an * instead of the time.
  28.  
  29. What If WhatRoute Doesn't Work ?
  30. Do you have Open Transport installed?
  31.  
  32. If you are unable to get a response from any hosts on the 'net, you may wish to check with your ISP to see if they allow the use of this kind of utility. Some ISPs block the packet types generated and used by WhatRoute. (ICMP and UDP specifically)
  33.  
  34. Do any of your other network tools work ? eg Eudora, Netscape, etc etc
  35.  
  36. Please email me (bryanc@ihug.co.nz) if you are completely stumped. 
  37.  
  38. Options
  39. WhatRoute provides options that enable you some control over the operation. In most cases the defaults are satisfactory.
  40.  
  41. Maximum Hop Count The number of times to increment TTL until the host is declared to be unreachable.
  42.  
  43. Packet Size    The size of the UDP data packet in bytes (including the IP and UDP headers) that WhatRoute sends.
  44.  
  45. DNS Timeout The amount of time (in seonds) to spend waiting for response from the Domain Name Server. If this time expires, the host name is displayed as an IP address.
  46.  
  47. Trace Timeout The amount of time (in seconds) to wait for the ICMP response from the last UDP transmission. When this timer expires and * is displayed.
  48.  
  49. Resolve Names By default, WhatRoute will translate IP addresses to names. If you wish to speed things up a bit, turn this option off and only IP addresses will be displayed.
  50.  
  51. Start With Clear Display If this option is set, the display pane will be cleared at the start of each trace.
  52.  
  53. Update Status Bar This currently does nothing. I thought people might want the option to turn off the clock and status bar. I guess I'll enable it if people want.
  54.  
  55. Beep on Completion This is one of those irritating things that people love or hate. Turn it off if you dont want your Mac to beep when it completes a trace.
  56.  
  57.  
  58. How does WhatRoute work ?
  59. The idea is an extremely simple one, but it does rely on some knowledge of the kinds of data packets transmitted over the Internet. I suggest you read a book on TCP/IP theory to get a good understanding of the principles involved. However I will attempt to give a brief (but simplified and maybe partly fictional) description of the process.
  60.  
  61. Every IP packet on the Internet has a Time To Live (TTL) field in its header. As the packet passes through a router (the processors that connect networks together), the router decrements the TTL by one. Normally, TTL is set to to a large value (such as 255) and the packet makes its way to the destination host.
  62.  
  63. In the traceroute algorithm (as implemented by WhatRoute) a UDP packet is sent with a TTL value of 1. This value is displayed in the leftmost column. The first router the packet meets, decrements the TTL and says to itself "Uh oh - this packet just died" and sends an ICMP packet back to the source of the original packet - ie your Macintosh. WhatRoute receives this ICMP packet and retrieves the IP address of the router that sent the reply.
  64.  
  65. The IP address is then resolved back into its host name (with help from the Domain Name Server) and the hostname and IP address are displayed. Each hop is tried three times and the round trip time taken for that hop is displayed (in milliseconds). If there is no response from the router, WhatRoute displays the time as an '*'. If you see a lot of these, then you are traversing slow links.
  66.  
  67. After three tries, WhatRoute increments the TTL and tries again, finding new routers each time, and displaying the results as it does.
  68.  
  69. Eventually a packet will reach the destination host. Instead of replying with a 'Packet Died' message, the target host will respond with a 'Port not available' ICMP message. This message signals completion and WhatRoute reports Trace Complete
  70.  
  71.  
  72. Whats Not In This version - But is Planned!
  73. 1. Timestamps at the start and finish of the trace.
  74. 2. Cancel will always work while doing DNS lookups (Sorry - its still a bit tricky)
  75. 3. More Drag&Drop
  76.  
  77. Fixed In Version 1.2.1
  78. 1. Fixed system crash when hitting the Cancel button.
  79. 2. Fixed error when opening endpoints on some models of Mac
  80. 3. Added internal DNS cache
  81. 4. Added OT Error codes to error messages.
  82.  
  83. New In Version 1.2
  84. 1. Printing - You can print the results of your trace
  85. 2. Save - You can save your results to a TEXT file
  86. 3. Remember the last 10 hosts you attempted to trace
  87. 4. Receive the GURL Apple event
  88. 5. Fixed source port of 0 bug.
  89. 6. Fixed trace timing problems (sometimes -ve times were displayed)
  90. 7. Better error reporting.
  91. 8. Other miscellaneous stuff
  92.  
  93. New In Version 1.1
  94. 1. The return key will activate the Trace button.
  95. 2. Esc or Command-. will activate the Cancel Button
  96. 3. Option settings are saved when you exit and restored when you next run the program.
  97. 4. The name of the last host pinged is restored when you start WhatRoute
  98. 5. The Set Packet Size Option now works
  99. 6. Other miscellaneous fixes and twiddles
  100.  
  101. Version 1.0
  102. First Release
  103.  
  104. Please send comments, suggestions etc to bryanc@ihug.co.nz
  105. Bryan Christianson
  106.